<template>
    <main class="box">
        <header class="header">头部-404</header>
        <div class="content">
            <van-empty image="error" description="404" />
            <div class="btn">
                <van-button type="primary" @click="$router.back()">返回上一页</van-button>
                <van-button type="primary" @click="$router.push('/')">去首页</van-button>
            </div>
        </div>
    </main>
</template>
<style lang="scss" scoped>
.content {
    display: flex;
    flex-direction: column;

    .btn {
        display: flex;
        justify-content: space-evenly;
    }
}
</style>